﻿<%@ Page Title="" Language="C#" %>

<script runat="server">
  protected void Page_Load(object sender, EventArgs e)
  {
    try
    {
      System.Threading.Thread.CurrentThread.CurrentCulture =
      new System.Globalization.CultureInfo("en-US", false);
      System.IO.StreamReader sr =
        new System.IO.StreamReader(ConfigurationManager.AppSettings["MALL_Offline"].ToString());
      string StarDate = sr.ReadLine();
      string EndDate = sr.ReadLine();
      //lbl_offline.Text = " ~ 系統維護公告 ~ <BR><BR> 台 北 時 間 <BR><BR> "
      //  + DateTime.Parse(StarDate).ToString("yyyy/MM/dd hh:mm:ss").ToUpper()
      //  + " 至 "
      //  + DateTime.Parse(EndDate).ToString("yyyy/MM/dd hh:mm:ss ").ToUpper()
      //  + "<BR><BR>不 便 之 處 請 您 見 諒 !!<BR><BR><BR>"
      //  + "System is down for maintenance from "
      //  + DateTime.Parse(StarDate).ToString("yyyy/MM/dd hh:mm:ss").ToUpper()
      //  + " until "
      //  + DateTime.Parse(EndDate).ToString("yyyy/MM/dd hh:mm:ss ").ToUpper()
      //  + " (Times are GMT) <BR> <BR> We apologize for any inconvenience";
      lbl_offline.Text = DateTime.Parse(StarDate).ToString("yyyy/MM/dd hh:mm:ss").ToUpper()
        + " 至 "
        + DateTime.Parse(EndDate).ToString("yyyy/MM/dd hh:mm:ss ").ToUpper();
      sr.Close();
    }
    catch (Exception)
    {
    }

  }
</script>
<!DOCTYPE html>
<html>
<head id="Head1" runat="server">
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <meta charset="utf-8" />
  <title>長榮樂e購-停機公告</title>
  <style type="text/css">
    * {
      margin: 0;
      padding: 0;
    }

    body {
      font-family: "Arial","微軟正黑體", "Microsoft JhengHei", "新細明體", "PMingLiU", sans-serif,Calibri;
      font-size: 100%;
      color: #6e583a;
    }

    .maintain {
      width: 600px;
      margin: 50px auto;
      border: 1px solid #ccc;
      padding: 20px;
    }

    table {
      border: 0;
      border-collapse: separate;
      border-spacing: 2px;
      width: 55%;
    }

      table th {
        text-align: left;
        font-weight: normal;
        width: 110px;
      }

      table thead th {
        width: 100%;
      }

      table td {
        font-weight: bold;
      }

        table td a {
          color: #0c84f7;
          font-weight: normal;
        }

          table td a:hover {
            text-decoration: none;
          }

    h1 {
      margin-bottom: 20px;
      color: #d24038;
    }

      h1 span {
        color: #009944;
      }

    p {
      line-height: 25px;
    }

    .maintain > div {
      margin-bottom: 30px;
    }

    h2 {
      font-size: 110%;
      margin-bottom: 20px;
    }
  </style>
</head>
<body>
  <form id="form1" runat="server">
    <div class="maintain">
      <h1><span>長榮</span>樂e購網站停機公告</h1>
      <div>
        <p>長榮樂e購為了提供更優質的網路購物服務與體驗</p>
        <p>我們將於
          <asp:Label ID="lbl_offline" runat="server" />
          進行網站升級與更新</p>
        <p>屆時長榮樂e購將暫停服務，並於升級作業完成後儘速恢復</p>
        <p>感謝您的體諒與支持，謝謝!</p>

      </div>

      <h2>如有任何問題，請利用以下方式與我們聯繫，我們將盡快為你處理。</h2>

      <table>
        <thead>
          <tr>
            <th colspan="3">週一 ~ 週五 早上 9:00 ~ 下午 5:00</th>
          </tr>
        </thead>
        <tbody>
          <tr>
            <th>客戶服務熱線</th>
            <td>:</td>
            <td>0800-535678</td>
          </tr>
          <tr>
            <th>電子郵件信箱</th>
            <td>:</td>
            <td><a href="mailto:shopping@evaair.com">shopping@evaair.com</a></td>
          </tr>
          <tr>
            <th>客戶服務傳真</th>
            <td>:</td>
            <td>03-3510017,03-3510018</td>
          </tr>
        </tbody>
      </table>
    </div>

  </form>
</body>
</html>


